/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: Carla Painemilla
 * License Type: Evaluation
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface SubsectorDAO {
	public Subsector loadSubsectorByORMID(int sub_id) throws PersistentException;
	public Subsector getSubsectorByORMID(int sub_id) throws PersistentException;
	public Subsector loadSubsectorByORMID(int sub_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector getSubsectorByORMID(int sub_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector loadSubsectorByORMID(PersistentSession session, int sub_id) throws PersistentException;
	public Subsector getSubsectorByORMID(PersistentSession session, int sub_id) throws PersistentException;
	public Subsector loadSubsectorByORMID(PersistentSession session, int sub_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector getSubsectorByORMID(PersistentSession session, int sub_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector[] listSubsectorByQuery(String condition, String orderBy) throws PersistentException;
	public Subsector[] listSubsectorByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector[] listSubsectorByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Subsector[] listSubsectorByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector loadSubsectorByQuery(String condition, String orderBy) throws PersistentException;
	public Subsector loadSubsectorByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector loadSubsectorByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Subsector loadSubsectorByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Subsector createSubsector();
	public boolean save(orm.Subsector subsector) throws PersistentException;
	public boolean delete(orm.Subsector subsector) throws PersistentException;
	public boolean deleteAndDissociate(orm.Subsector subsector) throws PersistentException;
	public boolean deleteAndDissociate(orm.Subsector subsector, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Subsector subsector) throws PersistentException;
	public boolean evict(orm.Subsector subsector) throws PersistentException;
}
